home *** CD-ROM | disk | FTP | other *** search
- //╔══════════════════════════════════════════════════════════════════════════╗
- //║ ║
- //║ This example show how to use EOS Debugger with Watcom C ║
- //║ ║
- //║ ║
- //║ ║
- //╚══════════════════════════════════════════════════════════════════════════╝
-
- #include <process.h>
-
- void wait_();
- #pragma aux wait_ modify [eax]= \
- "xor ah,ah"\
- "int 16h";
-
- void main()
- {
- init_EOS();
- debug();
- printf(" ■ Hello world...\x0D\x0A");
- wait_();
- exit(0);
- }